Generate Life Progress Text
(6 actions, 9 KB)
0 Run Shortcut
Life Progress Calculator
»
2
3
4
Workflow
:
{ "workflowIdentifier": "BCE8123E-A818-427A-97DE-23D26604A999", "workflowName": "Life Progress Calculator", "isSelf": false }
1 DataJar > GetValueIntent »
keyPath
:
My Text Files
2 Replace Text
{{weeksLeftInMyLife}}
with
[0 Shortcut Result
as Dictionary.Weeks Left
]
in
[1 Value
as Dictionary.deathClock
]
»
3 Replace Text
{{percentageLeftInMyLife}}
with
[0 Shortcut Result
as Dictionary.Percentage Left Formatted - Round to Thousandths
]
in
[2 Updated Text]
»
4 Replace Text
{{myCurrentAge}}
with
[0 Shortcut Result
as Dictionary.Age
]
in
[3 Updated Text]
»
5 Stop and Output
[4 Updated Text]